package gat.dto.req.tg;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

/**
 * 
 * @author: yanshukeji-java
 * @email: yanshukeji-java
 */
@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class AccountDbReqDto implements Serializable{
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 账号id VARCHAR
     */
    @ApiModelProperty(value = "账号id")
    @JsonProperty(index = 10)
    private String accountId;
    /**
     * 账号厂商 VARCHAR
     */
    @ApiModelProperty(value = "账号厂商")
    @JsonProperty(index = 20)
    private String accountSupplier;
    /**
     * 账号邮箱 VARCHAR
     */
    @ApiModelProperty(value = "账号邮箱")
    @JsonProperty(index = 30)
    private String accountMail;
    /**
     * 账号密码 VARCHAR
     */
    @ApiModelProperty(value = "账号密码")
    @JsonProperty(index = 40)
    private String accountPassword;
    /**
     * 邮箱密码 VARCHAR
     */
    @ApiModelProperty(value = "邮箱密码")
    @JsonProperty(index = 50)
    private String mailPassword;
    /**
     * 状态 未分配 已分配 INT
     */
    @ApiModelProperty(value = "状态 未分配 已分配")
    @JsonProperty(index = 60)
    //todo: 请检查此属性的取值范围（可使用@In或@InOrNull来限定取值）

    private Integer status;
    /**
     * tg用户id VARCHAR
     */
    @ApiModelProperty(value = "tg用户id")
    @JsonProperty(index = 70)
    private String tgUserId;
    /**
     * 订单号 VARCHAR
     */
    @ApiModelProperty(value = "订单号")
    @JsonProperty(index = 80)
    private String orderNo;
    /**
     * 主账号id VARCHAR
     */
    @ApiModelProperty(value = "主账号id")
    @JsonProperty(index = 90)
    private String primaryUid;
    /**
     * 邮箱登录地址 VARCHAR
     */
    @ApiModelProperty(value = "邮箱登录地址")
    @JsonProperty(index = 100)
    private String mailLoginUrl;
    /**
     * 官网地址 VARCHAR
     */
    @ApiModelProperty(value = "官网地址")
    @JsonProperty(index = 110)
    private String websiteUrl;
    /**
     * 备注 VARCHAR
     */
    @ApiModelProperty(value = "备注")
    @JsonProperty(index = 120)
    private String remark;
    /**
     * 账号类型 VARCHAR
     */
    @ApiModelProperty(value = "账号类型")
    @JsonProperty(index = 130)
    private String accountType;

    @ApiModelProperty(value = "折扣")
    @JsonProperty(index = 140)
    private Long discount;

    @ApiModelProperty(value = "来源")
    @JsonProperty(index = 140)
    // 来源 来源 excel导入 api查询
    private String source;

    @ApiModelProperty(value = "botId")
    @JsonProperty(index = 140)
    private String botId;
}






